How to declare a onChange() when the assigned funcion can be undefined

welcome to shbcf.ru